package com.snailhd.common.constant;

/**
 * @author hd
 */
public interface RedisConstant {

    String SYS_CONFIG = "com:snailhd:cloud:common:config";

    /**
     * token 有效时间
     */
    String TOKEN_EFFECTIVE_TIME = "TOKEN_EFFECTIVE_TIME";


    /**
     * 用户token存放地址 ，有有效期 key = TOKEN + userid;
     */
    String TOKEN = "com:snailhd:cloud:img:token:";

    /**
     * 缓存用户信息 有有效期 key = ACCOUNT_INFO + userid
     */
    String ACCOUNT_INFO = "com:snailhd:cloud:img:info:";
}
